<template>
	<view>
		<ShopList :keyword="keyWord"></ShopList>
	</view>
</template>

<script>
	import ShopList from "../../components/common/ShopList.vue"
	export default {
		data() {
			return {
				// 搜索页面传递过来的搜索值
				keyWord:""
			}
		},
		components:{
			ShopList
		},
		onLoad(e) {
			this.keyWord = e.keyWord
			// #ifdef APP-PLUS
			var webView = this.$mp.page.$getAppWebview();  
			webView.setTitleNViewSearchInputText(e.keyWord)  
			// #endif
		},
		// 监听原生标题栏搜索框的点击事件
		onNavigationBarSearchInputClicked(e){
			uni.navigateBack({
				delta:1
			})
		},
		methods: {
			
		}
	}
</script>

<style>

</style>
